package com.yinwq.shorturl.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource(value = "classpath:config/short-config.properties")
@Data
public class ShortConfig {

	/**
	 * 短链接请求地址
	 */
	@Value("${SHORT_URL_HOST}")
	private String shortUrlHost;
}
